{"version":3,"file":"script.min.js","sources":["script.js"],"names":["initDraggableOrderControl","params","data","JSON","parse","BX","loadScript","bx_dnd_order_waiter","DragDrop","window","propertyID","DragNDropOrderParameterControl","setTimeout","items","rand","util","getRandomString","this","getSortedItems","rootElementId","dragItemClassName","loadCSS","getPath","buildNodes","initDragDrop","prototype","path","propertyParams","JS_FILE","split","pop","join","inputValue","oInput","value","DEFAULT","result","k","values","hasOwnProperty","trim","push","message","in_array","baseNode","create","props","className","id","appendChild","attrs","data-value","text","oCont","isNodeInDom","dragdrop","dragItemControlClassName","sortable","rootElem","dragEnd","delegate","eventObj","dragElement","event","saveData","querySelectorAll","arr","getAttribute"],"mappings":"AAAA,QAASA,2BAA0BC,GAElC,GAAIC,GAAOC,KAAKC,MAAMH,EAAOC,KAC7B,IAAIA,EACJ,CACCG,GAAGC,WAAW,wCAAyC,YACtD,QAAUC,KACT,KAAMF,GAAGG,SACRC,OAAO,iBAAmBR,EAAOS,YAAc,GAAIC,gCAA+BT,EAAMD,OAExFW,YAAWL,EAAqB,WAMrC,QAASI,gCAA+BE,EAAOZ,GAE9C,GAAIa,GAAOT,GAAGU,KAAKC,gBAAgB,EAEnCC,MAAKhB,OAASA,KACdgB,MAAKJ,MAAQI,KAAKC,eAAeL,EAEjCI,MAAKE,cAAgB,wBAA0BF,KAAKhB,OAAOS,WAAa,IAAMI,CAC9EG,MAAKG,kBAAoB,4BAA8BH,KAAKhB,OAAOS,WAAa,IAAMI,CAEtFT,IAAGgB,QAAQJ,KAAKK,UAAY,cAAgBR,EAC5CG,MAAKM,YACLN,MAAKO,eAGNb,+BAA+Bc,WAE9BH,QAAS,WAER,GAAII,GAAOT,KAAKhB,OAAO0B,eAAeC,QAAQC,MAAM,IAEpDH,GAAKI,KAEL,OAAOJ,GAAKK,KAAK,MAGlBb,eAAgB,SAASL,GAExB,IAAKA,EACJ,QAED,IAAImB,GAAaf,KAAKhB,OAAOgC,OAAOC,OAASjB,KAAKhB,OAAO0B,eAAeQ,SAA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